import { useGet } from '~/composables/api'

export interface LogFormState {
  id: number | string
  operation: string
  method: string
  private: string
  params: string
}

export function getLogListApi(current: number | string, pageSize: number | string) {
  return useGet<LogFormState>('/syslog/page', { 'current': current, 'pageSize': pageSize })
}
